import {ModuleWithProviders} from "@angular/core"
import {Routes, RouterModule} from '@angular/router';


export const routes: Routes = [{
    path: 'user-config', 
    loadChildren:'app/+api-control/+user/user.module#UserControlModule'
 },{
 	path: 'api-config', 
    loadChildren:'app/+api-control/+api/api.module#ApiControlModule'
 },{
 	path: 'user-limit', 
    loadChildren:'app/+api-control/+user-limit/user-limit.module#UserLimitControlModule'
 },
   {
   	path: 'device-control', 
    loadChildren:'app/+api-control/+device-control/device-control.module#DeviceControlModule'
   }
 ];

export const routing = RouterModule.forChild(routes);
